package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验补充对象 ex_experiment_supplementary
 * 
 * @author ruoyi
 * @date 2024-09-29
 */
public class ExExperimentSupplementary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 实验主表id */
    @Excel(name = "实验主表id")
    private String experimentMainId;

    /** 补充内容 */
    @Excel(name = "补充内容")
    private String supplementaryContent;

    /** 补充时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "补充时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date supplementaryTime;

    /** 补充人姓名 */
    @Excel(name = "补充人姓名")
    private String supplementaryUserName;

    /** 补充人id */
    @Excel(name = "补充人id")
    private String supplementaryUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExperimentMainId(String experimentMainId)
    {
        this.experimentMainId = experimentMainId;
    }

    public String getExperimentMainId()
    {
        return experimentMainId;
    }
    public void setSupplementaryContent(String supplementaryContent) 
    {
        this.supplementaryContent = supplementaryContent;
    }

    public String getSupplementaryContent() 
    {
        return supplementaryContent;
    }
    public void setSupplementaryTime(Date supplementaryTime) 
    {
        this.supplementaryTime = supplementaryTime;
    }

    public Date getSupplementaryTime() 
    {
        return supplementaryTime;
    }
    public void setSupplementaryUserName(String supplementaryUserName) 
    {
        this.supplementaryUserName = supplementaryUserName;
    }

    public String getSupplementaryUserName() 
    {
        return supplementaryUserName;
    }
    public void setSupplementaryUserId(String supplementaryUserId) 
    {
        this.supplementaryUserId = supplementaryUserId;
    }

    public String getSupplementaryUserId() 
    {
        return supplementaryUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("experimentMainId", getExperimentMainId())
            .append("supplementaryContent", getSupplementaryContent())
            .append("supplementaryTime", getSupplementaryTime())
            .append("supplementaryUserName", getSupplementaryUserName())
            .append("supplementaryUserId", getSupplementaryUserId())
            .toString();
    }
}
